<div>
    <div>
        <div>
            <div class=" text-center">
                <h1>{{printPayFeeInfo.storeName}}</h1>
                <h5>收 款 收 据</h5>
                <!-- <h1>{{printPayFeeInfo.communityName}} 收据单</h1> -->
                <!-- <span>单号：{{printPayFeeInfo.receiptId}}</span> -->
            </div>
            <div class="row margin-top">
                <div class="col-sm-2">
                    <span>房号:{{printPayFeeInfo.roomName}}</span>
                </div>
                <!-- <div  v-if="printPayFeeInfo.type== 3 && printPayFeeInfo.carNum!=null  && printPayFeeInfo.carNum!='' " class="col-sm-2">
                    <span>车牌号码:{{printPayFeeInfo.carNum}}</span>
                </div>
                <div  v-if="printPayFeeInfo.type != 3 || printPayFeeInfo.carNum==null | printPayFeeInfo.carNum=='' " class="col-sm-2">
                </div> -->
                <div class="col-sm-2">
                </div>
                <div class="col-sm-2">
                    <span>用户名:{{printPayFeeInfo.name}}</span>
                </div>
                <div class="col-sm-2">
                </div>
                <div class="col-sm-2">
                </div>
                <div class="col-sm-2">
                    <span>面积:{{printPayFeeInfo.roomArea}} 平方米</span>
                </div>
            </div>
            <table class="table vc-table-border" style="margin-top: 20px;font-size: 16px;">
                <thead>
                    <tr>
                        <th scope="col" class="text-center">收费项目</th>
                        <!-- <th v-if="printPayFeeInfo.type== 3 || printPayFeeInfo.type==4 " scope="col" class="text-center">车牌号码</th> -->
                        <th v-if=" printPayFeeInfo.type==4 " scope="col" class="text-center">车牌号码</th>
                        <th scope="col" class="text-center">数量</th>
                        <th scope="col" class="text-center">单价</th>
                        <th colspan="2" scope="col" class="text-center">计费起止时间</th>
                        <th scope="col" class="text-center">实收金额</th>
                        <th scope="col" class="text-center">备注</th>
                    </tr>
                </thead>
                <tbody class="vc-table-border">
                    <tr v-for="(item,index) in printPayFeeInfo.fees" class="vc-table-border" >
                        <!-- <th scope="row" class="text-center">{{index +1}}</th> -->
                        <td  class="text-center" >{{item.feeName}}</td>
                        <!-- <td v-if="printPayFeeInfo.type== 3 || printPayFeeInfo.type==4 " scope="col" class="text-center">{{item.carNum}}</td> -->
                        <td  v-if= "printPayFeeInfo.type==4" scope="col" class="text-center" >{{item.carNum}}</td>
                        <td  v-if= "printPayFeeInfo.type== 5 " class="text-center" >{{item.cycle}}</td>
                        <td  v-if= "item.feeName != '水费' && item.feeName != '电费' && printPayFeeInfo.type != 5" class="text-center" >{{item.num}}</td>
                        <td  v-if= "item.feeName == '水费' || item.feeName == '电费'" class="text-center" ></td>
                        <!-- <td class="text-center">{{item.num}}</td> -->
                        <td  class="text-center" >{{item.unit}}</td>
                        <!-- <td class="text-center">{{item.start}}</td> -->
                        <td  v-if="printPayFeeInfo.type != 5" class="text-center" >{{item.start!=null?vc.dateFormat(item.start):''}}</td>
                        <td  v-if="printPayFeeInfo.type != 5" class="text-center" >{{item.end!=null?vc.dateFormat(item.end):''}}</td>
                        <td  v-if="printPayFeeInfo.type == 5" class="text-center" >{{item.startTime!=null?vc.dateFormat(item.startTime):''}}</td>
                        <td  v-if="printPayFeeInfo.type == 5" class="text-center" >{{item.endTime!=null?vc.dateFormat(item.endTime):''}}</td>
                        <td  class="text-center" >{{item.amount}}</td>
                        <td  class="text-left" style="font-size: 12px;">{{item.remark}}</td>
                        <!-- <td  v-if="printPayFeeInfo.type!= 3"  class="text-center" >{{item.remark}}</td> -->
                        <!-- <td  v-if="printPayFeeInfo.type== 3" class="text-center" >{{item.remark}}{{item.carNum}}</td> -->
                    </tr>
                    <tr >
                        <!-- <td colspan="1" class="text-center ">大写人民币（元）</td> -->
                        <td colspan="3" class="text-center ">大写人民币（元）: {{vc.changeNumMoneyToChinese(printPayFeeInfo.amount)}}
                        </td>
                        <!-- <td v-if="printPayFeeInfo.type== 3 || printPayFeeInfo.type==4 "  colspan="1" class="text-center "></td> -->
                        <!-- <td colspan="1" class="text-center ">合计（小写）</td> -->
                        <td v-if=" printPayFeeInfo.type==4 " colspan="4" class="text-center ">合计（小写）: {{printPayFeeInfo.amount}}</td>
                        <td v-if=" printPayFeeInfo.type!=4 " colspan="3" class="text-center ">合计（小写）: {{printPayFeeInfo.amount}}</td>
                        <!-- <td colspan="4" class="text-center "></td> -->

                        <td v-if="printPayFeeInfo.type== 3 && printPayFeeInfo.carNum!=null  && printPayFeeInfo.carNum!=''" colspan="4" class="text-left">车牌号：{{printPayFeeInfo.carNum}}</td>
                        <td v-if="printPayFeeInfo.type != 3 || printPayFeeInfo.carNum==null | printPayFeeInfo.carNum=='' "  colspan="4" class="text-center "></td>

                    </tr>
                    <!-- <tr height="60px">
                        <td colspan="5">
                            <p style="max-width: 600px;"> -->
                                <!-- {{printPayFeeInfo.content}} -->
                                <!-- <div v-html="printPayFeeInfo.content"></div>
                            </p>
                        </td>
                        <td colspan="4">
                            <img :src="printPayFeeInfo.qrImg" width="100px" height="100px">
                        </td>
                    </tr> -->
                </tbody>
            </table>
            <div class="row ">
                <div class="col-sm-2">
                    <span>{{printPayFeeInfo.communityName}}客户服务中心</span>
                </div>
                <div class="col-sm-1">
                </div>
                <div class="col-sm-3">
                    <span>收款时间：{{printPayFeeInfo.feeTime}}</span>
                </div>
                <!-- <div class="col-sm-2">
                </div> -->
                <div class="col-sm-2">
                </div>
                <div class="col-sm-2">
                </div>
                <div class="col-sm-2">
                    <span>收款人：{{printPayFeeInfo.userName}}</span>
                </div>
            </div>
        </div>
        <div id="print-btn">
            <button class="btn btn-primary float-right" type="button" v-on:click="_printPurchaseApplyDiv()">
                <i class="fa fa-check"></i>&nbsp;打印
            </button>
            <button type="button" class="btn btn-warning float-right" style="margin-right:20px;" v-on:click="_closePage()">取消
            </button>
        </div>
    </div>
</div>